/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

import androidx.core.app.NotificationCompat;
//import anet.channel.strategy.dispatch.DispatchConstants;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
//import org.android.agoo.common.AgooConstants;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class BannerBean {
    @NotNull
    private final Action action;
    @NotNull
    private final Object color;
    @NotNull
    private final Object flag;
    @NotNull
    private final String image;
    @NotNull
    private final Object maxV;
    @NotNull
    private final Object minV;
    @NotNull
    private final Object rightTopIcon;
    @NotNull
    private final Object selectedImage;
    private final boolean status;
    @NotNull
    private final String title;

    public BannerBean(@NotNull Action action, @NotNull Object color, @NotNull Object flag, @NotNull String image, @NotNull Object maxV, @NotNull Object minV, @NotNull Object rightTopIcon, @NotNull Object selectedImage, boolean z, @NotNull String title) {
        Intrinsics.checkNotNullParameter(action, "action");
        Intrinsics.checkNotNullParameter(color, "color");
        Intrinsics.checkNotNullParameter(flag, "flag");
        Intrinsics.checkNotNullParameter(image, "image");
        Intrinsics.checkNotNullParameter(maxV, "maxV");
        Intrinsics.checkNotNullParameter(minV, "minV");
        Intrinsics.checkNotNullParameter(rightTopIcon, "rightTopIcon");
        Intrinsics.checkNotNullParameter(selectedImage, "selectedImage");
        Intrinsics.checkNotNullParameter(title, "title");
        this.action = action;
        this.color = color;
        this.flag = flag;
        this.image = image;
        this.maxV = maxV;
        this.minV = minV;
        this.rightTopIcon = rightTopIcon;
        this.selectedImage = selectedImage;
        this.status = z;
        this.title = title;
    }

    @NotNull
    public final Action component1() {
        return this.action;
    }

    @NotNull
    public final String component10() {
        return this.title;
    }

    @NotNull
    public final Object component2() {
        return this.color;
    }

    @NotNull
    public final Object component3() {
        return this.flag;
    }

    @NotNull
    public final String component4() {
        return this.image;
    }

    @NotNull
    public final Object component5() {
        return this.maxV;
    }

    @NotNull
    public final Object component6() {
        return this.minV;
    }

    @NotNull
    public final Object component7() {
        return this.rightTopIcon;
    }

    @NotNull
    public final Object component8() {
        return this.selectedImage;
    }

    public final boolean component9() {
        return this.status;
    }

    @NotNull
    public final BannerBean copy(@NotNull Action action, @NotNull Object color, @NotNull Object flag, @NotNull String image, @NotNull Object maxV, @NotNull Object minV, @NotNull Object rightTopIcon, @NotNull Object selectedImage, boolean z, @NotNull String title) {
        Intrinsics.checkNotNullParameter(action, "action");
        Intrinsics.checkNotNullParameter(color, "color");
        Intrinsics.checkNotNullParameter(flag, "flag");
        Intrinsics.checkNotNullParameter(image, "image");
        Intrinsics.checkNotNullParameter(maxV, "maxV");
        Intrinsics.checkNotNullParameter(minV, "minV");
        Intrinsics.checkNotNullParameter(rightTopIcon, "rightTopIcon");
        Intrinsics.checkNotNullParameter(selectedImage, "selectedImage");
        Intrinsics.checkNotNullParameter(title, "title");
        return new BannerBean(action, color, flag, image, maxV, minV, rightTopIcon, selectedImage, z, title);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof BannerBean)) {
            return false;
        }
        BannerBean bannerBean = (BannerBean) obj;
        return Intrinsics.areEqual(this.action, bannerBean.action) && Intrinsics.areEqual(this.color, bannerBean.color) && Intrinsics.areEqual(this.flag, bannerBean.flag) && Intrinsics.areEqual(this.image, bannerBean.image) && Intrinsics.areEqual(this.maxV, bannerBean.maxV) && Intrinsics.areEqual(this.minV, bannerBean.minV) && Intrinsics.areEqual(this.rightTopIcon, bannerBean.rightTopIcon) && Intrinsics.areEqual(this.selectedImage, bannerBean.selectedImage) && this.status == bannerBean.status && Intrinsics.areEqual(this.title, bannerBean.title);
    }

    @NotNull
    public final Action getAction() {
        return this.action;
    }

    @NotNull
    public final Object getColor() {
        return this.color;
    }

    @NotNull
    public final Object getFlag() {
        return this.flag;
    }

    @NotNull
    public final String getImage() {
        return this.image;
    }

    @NotNull
    public final Object getMaxV() {
        return this.maxV;
    }

    @NotNull
    public final Object getMinV() {
        return this.minV;
    }

    @NotNull
    public final Object getRightTopIcon() {
        return this.rightTopIcon;
    }

    @NotNull
    public final Object getSelectedImage() {
        return this.selectedImage;
    }

    public final boolean getStatus() {
        return this.status;
    }

    @NotNull
    public final String getTitle() {
        return this.title;
    }

    public int hashCode() {
        int hashCode = ((((((((((((((this.action.hashCode() * 31) + this.color.hashCode()) * 31) + this.flag.hashCode()) * 31) + this.image.hashCode()) * 31) + this.maxV.hashCode()) * 31) + this.minV.hashCode()) * 31) + this.rightTopIcon.hashCode()) * 31) + this.selectedImage.hashCode()) * 31;
        boolean z = this.status;
        if (z) {
            z = true;
        }
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        return ((hashCode + i2) * 31) + this.title.hashCode();
    }

    @NotNull
    public String toString() {
        return "BannerBean(action=" + this.action + ", color=" + this.color + ", flag=" + this.flag + ", image=" + this.image + ", maxV=" + this.maxV + ", minV=" + this.minV + ", rightTopIcon=" + this.rightTopIcon + ", selectedImage=" + this.selectedImage + ", status=" + this.status + ", title=" + this.title + ')';
    }
}
